package ecode

import (
	"github.com/zhufuyi/sponge/pkg/errcode"
)

// tkVisitLog http service level error code
// each resource name corresponds to a unique number (http type), the number range is 1~100, if there is the same number, trigger panic
var (
	tkVisitLogNO       = 67
	tkVisitLogName     = "tkVisitLog"
	tkVisitLogBaseCode = errcode.HCode(tkVisitLogNO)

	ErrCreateTkVisitLog      = errcode.NewError(tkVisitLogBaseCode+1, "failed to create "+tkVisitLogName)
	ErrDeleteByIDTkVisitLog  = errcode.NewError(tkVisitLogBaseCode+2, "failed to delete "+tkVisitLogName)
	ErrDeleteByIDsTkVisitLog = errcode.NewError(tkVisitLogBaseCode+3, "failed to delete by batch ids "+tkVisitLogName)
	ErrUpdateByIDTkVisitLog  = errcode.NewError(tkVisitLogBaseCode+4, "failed to update "+tkVisitLogName)
	ErrGetByIDTkVisitLog     = errcode.NewError(tkVisitLogBaseCode+5, "failed to get "+tkVisitLogName+" details")
	ErrListByIDsTkVisitLog   = errcode.NewError(tkVisitLogBaseCode+6, "failed to list by batch ids "+tkVisitLogName)
	ErrListTkVisitLog        = errcode.NewError(tkVisitLogBaseCode+7, "failed to list of "+tkVisitLogName)
	// error codes are globally unique, adding 1 to the previous error code
)
